home *** CD-ROM | disk | FTP | other *** search
- property printField
-
- on new me
- return me
- end
-
- on getPropertyDescriptionList me
- description = [:]
- addProp(description, #printField, [#default: "none", #format: #string, #comment: "The field to print:"])
- return description
- end
-
- on getBehaviorDescription me
- return "prints the field defined by printField"
- end
-
- on mouseUp me
- if printField <> "none" then
- put printField
- print(member(printField).text)
- end if
- end
-